<!DOCTYPE html>
<html ng-app="myApp" ng-controller="inputServiceModelController" xmlns:th="http://www.thymeleaf.org">
<head th:include="/common/head :: commonHead('编辑服务')"></head>
<body>
<div style="height: 20px;"></div>
<div  data-ng-init="load()" style="width: 90%; margin: 0 auto;">
    <form lay-filter="inputForm" class="layui-form" action="">

        <input id="serviceId" type="hidden" th:value="${serviceId}" />
        <div class="layui-form-item">
            <label class="layui-form-label">服务名称</label>
            <div class="layui-input-block">
                <input ng-model="entity.service_name" type="text" name="service_name" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">执行部门</label>
            <div class="layui-input-block">
                <select id="roleSelect" name="role">
                    <option value=""></option>
                </select>
            </div>
        </div>
        <input type="hidden" id="btnSubmit" ng-click="submit($event)">
    </form>
</div>
<span th:replace="/common/on-load-js :: commonOnLoadJs"></span>
<span th:replace="/common/angular :: angular"></span>
</body>
<script src="/static/admin/js/serviceModel/input.js"></script>
</html>